package com.qingrongby.shop.api.v1;

import com.qingrongby.shop.core.interceptors.ScopeLevel;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @CLASSNAME Coupon
 * @DESCRIPTION TODO
 * @AUTHOR hzp
 * @DATE 2020/7/23
 * @VERSION 1.0
 **/
@RestController
@RequestMapping("/api/v1/")
public class Coupon {

    @ScopeLevel(1)
    @PostMapping("/collect/{id}")
    public void collectCoupon(@PathVariable Long od){

    }

}
